<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@include file="/includes.jsp"%>

<logic:present name="buttonValues">
    <logic:notEmpty name="buttonValues">
        <ul class="navList">
            <logic:iterate name="buttonValues" id="button">
                <logic:equal name="button" property="isEnabled" value="true">
                    <li class="enabled">
                        <html:link action="processButton.do" paramId="button" paramName="button" paramProperty="name">
                            <beans:write name="button" property="label"/>
                        </html:link>
                    </li>
                </logic:equal>
                <logic:equal name="button" property="isEnabled" value="false">
                    <li class="disabled">
                        <beans:write name="button" property="label"/>
                    </li>
                </logic:equal>
            </logic:iterate>
        </ul>
    </logic:notEmpty>
</logic:present>
